home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr49 / vesa18.zip / COMMON.H < prev    next >
C/C++ Source or Header  |  1995-01-28  |  1KB  |  26 lines

  1. extern int activeindex;
  2. extern int screenlocked;
  3. extern VESASWITCH swfunc;
  4.  
  5. extern VESAWORD *Modes;
  6.  
  7. extern struct _ModeInfo
  8.   {
  9.     UCHAR        fbtype;
  10.     VESAMODEINFO Vesa;
  11.   } *ModeInfos;
  12.  
  13. /* functions implemented in common.c                                         */
  14. VOID Error(char *s);             /* Print error message using OS/2 DOS-Calls */
  15.  
  16. /* functions to implement in vesa_xxx.c                                      */
  17. VOID *GetPhysBuf(void);          /* Get access to physical display buffer    */
  18. VESABOOL Initialize(void);       /* Initialize VESA dll                      */
  19. VOID     ClearUp(void);          /* Prepare to exit VESA dll                 */
  20. VESABOOL SetMode(VESAWORD mode); /* Set video mode - routine called both, if */
  21.                                  /* program in foreground or in background   */
  22.                                  /* don't do any register access             */
  23. void SetSpecial(VESAWORD mode);  /* Set video mode - routine only called, if */
  24.                                  /* program in foreground,                   */
  25.                                  /* register access allowed                  */
  26.